<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>新建任务</title>
    <link href="../../assets/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="../../assets/css/public.css" type="text/css" rel="stylesheet">
    <script src="../../assets/jquery/jquery.2.1.1.min.js"></script>
    <script src="../../assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="../../assets/lay/laydate/laydate.js"></script>
    <script src="../../assets/jquery/jquery.validate.min.js"></script>
    <script src="../../assets/jquery/jquery.validate.ext.js"></script>
    <script>
        window.menuCode = 'CollectionDir';
        window.thirdMenuCode = 'task';

    </script>
    <script src="../../assets/common/d_common.js"></script>
    <script src="../../assets/lay/layer/layer.js"></script>
    <script src="../../assets/jrain/jrain.js"></script>
    <script src="../../assets/jrain/json2.js"></script>
    <script src="../../assets/jrain/dateformat.js"></script>
    <script src="../../assets/jrain/jraincommon.js"></script>
    <script src="js/task_add.js"></script>
    <script src="../../assets/jrain/Math.js"></script>
    <script>
        $(function(){
            updateLoad();
        });

    </script>

</head>
<body>
<div class="container">
    <!--head-->
    <div id="header" class="headerbox">

    </div>
    <!--head-->
    <!--内容区域-->
    <div class="row  sidebar-mini" id="mainCont">
        <div class="wrapper">
            <div class="main-left" id="leftMenu">left</div>
            <div class="main-right">
                <div class="rightcont" id="rightCont">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-sheetTitle pl10">基本信息</div>
                    <form class="form-inline q-form"  id="theform" name="theform" >
                        <input type="hidden" name="b_id" id="b_id" value=""></input>
                        <input  type="hidden"   id="b_oldValue" name="b_oldValue" readonly >
                        <input type="hidden" name="url" value="/rest/IotTaskBusiness/modify">
                        <input type="hidden"  id="b_taskCodeOld"
                               name="b_taskCodeOld">
                        <input type="hidden" id="b_uuid" name="b_uuid" >
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span> 任务编码：</label>
                            <input id="b_taskCode" name="b_taskCode" type="text"
                                   class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">任务名称 ：</label>
                            <input id="b_taskName"
                                   name="b_taskName" type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">
                        </div>
                        <div class="form-group col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>任务周期：</label>
                            <span class="input-group">
						      <input id="b_taskPeriod"
                                     name="b_taskPeriod"  type="text" class="form-control q-form-ipt"
                                     placeholder="">
						      <span class="input-group-addon q-input-group-addon">分</span>
						    </span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">任务单位：</label>
                            <select id="b_taskUnit" name="b_taskUnit"  class="form-control q-form-ipt q-form-ipt-device">
                                <option value="1">日</option>
                                <option value="2">月</option>
                                <option value="3">年</option>
                            </select>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span> 执行时分秒 ：</label>
                            <input id="b_taskHs" name="b_taskHs" type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">
                        </div>
                        <div class="form-group col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">预期执行时间：</label>
                            <span class="input-group">
						      <input id="b_taskExpect"
                                     name="b_taskExpect"  type="text" class="form-control q-form-ipt" placeholder="">
						      <span class="input-group-addon q-input-group-addon">分</span>
						    </span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">任务组：</label>
                            <input id="b_taskGroup"
                                   name="b_taskGroup" type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span> 存储表格：</label>
                            <input id="b_iotTable"
                                   name="b_iotTable" type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">采样时间：</label>
                            <input id="b_iotTime" name="b_iotTime" type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">排序：</label>
                            <input id="b_rowSort"
                                   name="b_rowSort"  type="text" class="form-control q-form-ipt q-form-ipt-device"
                                   placeholder="" value="1000">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">是否主任务：</label>
                            <label class=""><input  type="radio" name="b_taskMain_1" checked="checked" value="1" > 是</label>
                            <label class="ml10"><input  type="radio" name="b_taskMain_1" value="2" > 否</label>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">状态：</label>
                            <label class=""><input  name="b_status_1"  checked="checked" value="1" type="radio">
                                启用</label>
                            <label class="ml10"><input  name="b_status_1"   value="2" type="radio"> 停用</label>


                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">
                            <label class="control-label text-w130">时间表达式 ：</label>
                            <textarea id="b_iotDexpr" name="b_iotDexpr"  rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device"
                                      placeholder=""></textarea>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">
                            <label class="control-label text-w130">数值表达式 ：</label>
                            <textarea name="" rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device"
                                      placeholder=""></textarea>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10 q-textarea">
                            <label class="control-label text-w130">备注 ：</label>
                            <textarea  id="b_iotExpr" name="b_iotExpr"  rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device"
                                       placeholder=""></textarea>
                        </div>
                    </form>
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-bottom-btn mt20">
                        <a href="task_list.html" class="q-form-btn q-form-btn-white mr5" id="returnBut">
                            <i class="qxticon icon-back"></i> 返回
                        </a>
                        <a href="javascript:;" class="q-form-btn q-form-btn-blue ml5" id="subBtn">
                            <i class="glyphicon glyphicon-floppy-save"></i> 保存
                        </a>
                    </div>
                </div>
                <!--底部区域-->
                <!--底部区域-->
                <div class="footer" id="footer"></div>
            </div>
        </div>
    </div>
    <!--内容区域-->
</div>
</body>
</html>